package com.guangdujs.kis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.guangdujs.common.annotation.Excel;
import com.guangdujs.common.core.domain.BaseEntity;

/**
 * 即时库存对象 GD_Stock1
 * 
 * @author kis
 * @date 2022-11-02
 */
public class GdStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String goodNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String goodName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String goodModel;

    /** 产品批号 */
    @Excel(name = "产品批号")
    private String goodBatchNo;

    /** 生产日期 */
    @Excel(name = "生产日期")
    private String startDate;

    /** 保质期 */
    @Excel(name = "保质期")
    private Long keepDate;

    /** 有效期止 */
    @Excel(name = "有效期止")
    private String endDate;

    /** 剩余月数 */
    @Excel(name = "剩余月数")
    private Long keepMonths;

    /** 仓库代码 */
    @Excel(name = "仓库代码")
    private Long stockNumber;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String stockName;

    /** 基本单位 */
    @Excel(name = "基本单位")
    private String unitName;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long unitNum;

    /** 常用单位 */
    @Excel(name = "常用单位")
    private String unitBaseName;

    public void setGoodNumber(String goodNumber) 
    {
        this.goodNumber = goodNumber;
    }

    public String getGoodNumber() 
    {
        return goodNumber;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setGoodModel(String goodModel) 
    {
        this.goodModel = goodModel;
    }

    public String getGoodModel() 
    {
        return goodModel;
    }
    public void setGoodBatchNo(String goodBatchNo) 
    {
        this.goodBatchNo = goodBatchNo;
    }

    public String getGoodBatchNo() 
    {
        return goodBatchNo;
    }
    public void setStartDate(String startDate) 
    {
        this.startDate = startDate;
    }

    public String getStartDate() 
    {
        return startDate;
    }
    public void setKeepDate(Long keepDate) 
    {
        this.keepDate = keepDate;
    }

    public Long getKeepDate() 
    {
        return keepDate;
    }
    public void setEndDate(String endDate) 
    {
        this.endDate = endDate;
    }

    public String getEndDate() 
    {
        return endDate;
    }
    public void setKeepMonths(Long keepMonths) 
    {
        this.keepMonths = keepMonths;
    }

    public Long getKeepMonths() 
    {
        return keepMonths;
    }
    public void setStockNumber(Long stockNumber) 
    {
        this.stockNumber = stockNumber;
    }

    public Long getStockNumber() 
    {
        return stockNumber;
    }
    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitNum(Long unitNum) 
    {
        this.unitNum = unitNum;
    }

    public Long getUnitNum() 
    {
        return unitNum;
    }
    public void setUnitBaseName(String unitBaseName) 
    {
        this.unitBaseName = unitBaseName;
    }

    public String getUnitBaseName() 
    {
        return unitBaseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodNumber", getGoodNumber())
            .append("goodName", getGoodName())
            .append("goodModel", getGoodModel())
            .append("goodBatchNo", getGoodBatchNo())
            .append("startDate", getStartDate())
            .append("keepDate", getKeepDate())
            .append("endDate", getEndDate())
            .append("keepMonths", getKeepMonths())
            .append("stockNumber", getStockNumber())
            .append("stockName", getStockName())
            .append("unitName", getUnitName())
            .append("unitNum", getUnitNum())
            .append("unitBaseName", getUnitBaseName())
            .toString();
    }
}
